﻿/*------------------------------------------------
// File Description: s_model_check DataBase Entity
// Author:			 Crane
// Create Time:		 2021-04-27 22:26:44
//------------------------------------------------*/

using System;
using System.Data.Entity;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace IOA.OldMes.DataAccess.Entity
{
    /// <summary>
    /// 终检数据
    /// </summary>
    [Table("s_model_check")]
    public class ModelCheck
    {
        private string _solar_no = string.Empty;
        private string _work_order = string.Empty;
        private string _weld_machine = string.Empty;
        private string _plate_type = string.Empty;
        private string _modul_level = string.Empty;
        private string _modul_color = string.Empty;
        private string _modul_type = string.Empty;
        private string _cell_trait = string.Empty;
        private string _bad_item = string.Empty;
        private string _additional_remark = string.Empty;
        private string _set_op1 = string.Empty;
        private string _set_op2 = string.Empty;
        private string _set_class = string.Empty;
        private string _set_no = string.Empty;
        private string _in_code = string.Empty;
        private string _family_Code = string.Empty;
        private string _artNo = string.Empty;
        private string _subname = string.Empty;
        private string _liao_no = string.Empty;
        private string _shou_no = string.Empty;
        private string _协鑫二维码 = string.Empty;

        #region Public Property

        ///<Summary>
        /// id
        ///</Summary>
        public int id { get; set; }

        ///<Summary>
        /// solar_no
        ///</Summary>
        public string solar_no
        {
            get { return string.IsNullOrWhiteSpace(_solar_no) ? string.Empty : _solar_no; }
            set { _solar_no = value; }
        }

        ///<Summary>
        /// work_order
        ///</Summary>
        public string work_order
        {
            get { return string.IsNullOrWhiteSpace(_work_order) ? string.Empty : _work_order; }
            set { _work_order = value; }
        }

        ///<Summary>
        /// in_time
        ///</Summary>
        public int? in_time { get; set; }

        ///<Summary>
        /// weld_machine
        ///</Summary>
        public string weld_machine
        {
            get { return string.IsNullOrWhiteSpace(_weld_machine) ? string.Empty : _weld_machine; }
            set { _weld_machine = value; }
        }

        ///<Summary>
        /// plate_type
        ///</Summary>
        public string plate_type
        {
            get { return string.IsNullOrWhiteSpace(_plate_type) ? string.Empty : _plate_type; }
            set { _plate_type = value; }
        }

        ///<Summary>
        /// modul_level
        ///</Summary>
        public string modul_level
        {
            get { return string.IsNullOrWhiteSpace(_modul_level) ? string.Empty : _modul_level; }
            set { _modul_level = value; }
        }

        ///<Summary>
        /// modul_color
        ///</Summary>
        public string modul_color
        {
            get { return string.IsNullOrWhiteSpace(_modul_color) ? string.Empty : _modul_color; }
            set { _modul_color = value; }
        }

        ///<Summary>
        /// modul_type
        ///</Summary>
        public string modul_type
        {
            get { return string.IsNullOrWhiteSpace(_modul_type) ? string.Empty : _modul_type; }
            set { _modul_type = value; }
        }

        ///<Summary>
        /// cell_trait
        ///</Summary>
        public string cell_trait
        {
            get { return string.IsNullOrWhiteSpace(_cell_trait) ? string.Empty : _cell_trait; }
            set { _cell_trait = value; }
        }

        ///<Summary>
        /// bad_item
        ///</Summary>
        public string bad_item
        {
            get { return string.IsNullOrWhiteSpace(_bad_item) ? string.Empty : _bad_item; }
            set { _bad_item = value; }
        }

        ///<Summary>
        /// additional_remark
        ///</Summary>
        public string additional_remark
        {
            get { return string.IsNullOrWhiteSpace(_additional_remark) ? string.Empty : _additional_remark; }
            set { _additional_remark = value; }
        }

        ///<Summary>
        /// set_op1
        ///</Summary>
        public string set_op1
        {
            get { return string.IsNullOrWhiteSpace(_set_op1) ? string.Empty : _set_op1; }
            set { _set_op1 = value; }
        }

        ///<Summary>
        /// set_op2
        ///</Summary>
        public string set_op2
        {
            get { return string.IsNullOrWhiteSpace(_set_op2) ? string.Empty : _set_op2; }
            set { _set_op2 = value; }
        }

        ///<Summary>
        /// set_class
        ///</Summary>
        public string set_class
        {
            get { return string.IsNullOrWhiteSpace(_set_class) ? string.Empty : _set_class; }
            set { _set_class = value; }
        }

        ///<Summary>
        /// set_no
        ///</Summary>
        public string set_no
        {
            get { return string.IsNullOrWhiteSpace(_set_no) ? string.Empty : _set_no; }
            set { _set_no = value; }
        }

        ///<Summary>
        /// set_time
        ///</Summary>
        public DateTime? set_time { get; set; }

        ///<Summary>
        /// in_code
        ///</Summary>
        public string in_code
        {
            get { return string.IsNullOrWhiteSpace(_in_code) ? string.Empty : _in_code; }
            set { _in_code = value; }
        }

        ///<Summary>
        /// Family_Code
        ///</Summary>
        public string Family_Code
        {
            get { return string.IsNullOrWhiteSpace(_family_Code) ? string.Empty : _family_Code; }
            set { _family_Code = value; }
        }

        ///<Summary>
        /// ArtNo
        ///</Summary>
        public string ArtNo
        {
            get { return string.IsNullOrWhiteSpace(_artNo) ? string.Empty : _artNo; }
            set { _artNo = value; }
        }

        ///<Summary>
        /// subname
        ///</Summary>
        public string subname
        {
            get { return string.IsNullOrWhiteSpace(_subname) ? string.Empty : _subname; }
            set { _subname = value; }
        }

        ///<Summary>
        /// liao_no
        ///</Summary>
        public string liao_no
        {
            get { return string.IsNullOrWhiteSpace(_liao_no) ? string.Empty : _liao_no; }
            set { _liao_no = value; }
        }

        ///<Summary>
        /// shou_no
        ///</Summary>
        public string shou_no
        {
            get { return string.IsNullOrWhiteSpace(_shou_no) ? string.Empty : _shou_no; }
            set { _shou_no = value; }
        }

        ///<Summary>
        /// 协鑫二维码
        ///</Summary>
        public string 协鑫二维码
        {
            get { return string.IsNullOrWhiteSpace(_协鑫二维码) ? string.Empty : _协鑫二维码; }
            set { _协鑫二维码 = value; }
        }

        ///<Summary>
        /// 超出范围
        ///</Summary>
        public int? 超出范围 { get; set; }
        #endregion
    }

    public partial class OldMESContext
    {
        /// <summary>
        /// 终检数据
        /// </summary>
        public virtual DbSet<ModelCheck> ModelChecks { get; set; }
    }
}